package com.adopapa.ethexplorer.domain;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface BlockInfoRespsoitory extends JpaRepository<BlockInfo, String>, JpaSpecificationExecutor<BlockInfo> {

	List<BlockInfo> findByNumber(Long number);

	List<BlockInfo> findByHash(String hash);

}
